<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    <ul>
    <li v-for = "(item, index) in list" :key="index"  @click="getGrade(item)">
      <span>{{item.name}}</span>
      <span>{{item.grade}}</span>
    </li>
  </ul>
  </div>
  
  <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
  <script>
    const app = new Vue({
      el:'#app',
      data:{
        list:[
          {name:'小明',grade:66},
          {name:'小刚',grade:99},
          {name:'小花',grade:88},
          {name:'小傻',grade:100},
        ]
      },
      methods:{
          getGrade(student){
            console.log(studnet.grade);
            //console.log(event.target);
            // console.log(aa.target);
          }
        }
    })
  </script>
</body>
</html>